package com.company.fastsbapi.service;

import com.company.fastsbapi.dataobject.model.student;
import com.company.fastsbapi.dataobject.ro.studentAddRO;
import com.company.fastsbapi.dataobject.ro.studentUpdateRO;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;

/**
* Created by CodeGenerator on 2020/09/08.
*/
public interface studentService {

    void addstudent(studentAddRO studentAddRO);

    void deletestudent(Integer id);

    void updatestudent(studentUpdateRO studentUpdateRO);

    student findstudent(Integer id);

    Page<student> findstudentPage(PageRequest pageRequest);

}